-- GENERATED SPELL FOR [Dreadwing] --


function spell0_21032(pUnit, Event) --@Netherbreath,n/a--
pUnit:FullCastSpellOnTarget(36631,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21032', 5500, 1)
end

function Sorts_21032(pUnit, Event)
local choix_sorts_21032 = math.random(0, 0)
if choix_sorts_21032 == 0 then
pUnit:RegisterEvent('spell0_21032', 1, 1)
end
end

function mob21032_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21032', math.random(1500, 3000), 1)
end

function mob21032_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21032_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21032_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21032, 1, 'mob21032_Action')
RegisterUnitEvent(21032, 2, 'mob21032_Leave')
RegisterUnitEvent(21032, 3, 'mob21032_Kill')
RegisterUnitEvent(21032, 4, 'mob21032_Die')
